/**
 * 批量生成下拉列表的option
 */
export function typeOptionCreator(Select, typeList) {
    return typeList.map(item => (
        <Select.Option key={item.typeName} value={item.typeName}>
            {item.label}
        </Select.Option>
    ))
}